import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
  state: {
    address: "",
    findDataId: {},
    judge:true

  },
  mutations: {
    //  点击事件改变相关的索引
    index(state, key) {
      state.address = key
    },
    findDataId(state, key) {
      state.findDataId = key
    },
    // 修改judge是pc端还是手机端  
    judgexg(state,key){
      state.judge=key
    }



  },
  actions: {},
  getters: {}
})
